﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.Common;
using Csla;
using Csla.Data;

namespace BO
{

    [Serializable()]
    public partial class SysUserRole:BusinessBaseEx
    {
        public SysUserRole()
        {
            this.Clear();
        }
         
        
    #region primary field
       
         private static PropertyInfo<String> UserNameProperty=RegisterProperty( typeof(SysUserRole), new PropertyInfo<String>("UserName",true));
       
        
         public String UserName
        { 
            get{return GetProperty(UserNameProperty);}
            set{SetProperty(UserNameProperty, value); }
        }
       
         private static PropertyInfo<String> RoleNameProperty=RegisterProperty( typeof(SysUserRole), new PropertyInfo<String>("RoleName",true));
       
        
         public String RoleName
        { 
            get{return GetProperty(RoleNameProperty);}
            set{SetProperty(RoleNameProperty, value); }
        }
    #endregion 
       
        public override string GetTableName()
        {
            return "SysUserRole";
         }
        
    
    
    }
}